/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package erpretailx.Component;

import javax.swing.BoxLayout;
import javax.swing.JPanel;

/**
 *
 * @author Al Quthsi
 */
public class WorkSpacePanel extends JPanel{
    private ToolBar toolBar = new ToolBar();
    private WorkPanel workPanel = new WorkPanel();
    private StatusBar statusBar = new StatusBar();

    public WorkSpacePanel(){
        setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
        add(toolBar);
        add(workPanel);
        add(statusBar);
    }

    public StatusBar getStatusBar() {
        return statusBar;
    }

    public ToolBar getToolBar() {
        return toolBar;
    }

    public WorkPanel getWorkPanel() {
        return workPanel;
    }

    

}
